<!--
 * @Author: zwc 6537397+uni-yunApp@user.noreply.gitee.com
 * @Date: 2023-03-15 16:35:59
 * @LastEditors: zwc 6537397+uni-yunApp@user.noreply.gitee.com
 * @LastEditTime: 2023-03-16 14:40:54
 * @FilePath: \project-template\src\views\HelloWorld.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script setup lang="ts">
import { ref } from "vue";

const showMessage = () => {
  ElMessage.error("报错了");
};
</script>

<template>
  <div class="card">
    <el-button @click="showMessage" type="primary">Primary</el-button>
  </div>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
